package com.hdu.executor;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.Map;

public class ParamQueryService {

    private static Map<String, BigDecimal> PRARAM_VALUE_MAP = new HashMap<>();

    public static BigDecimal queryParamValue(String paramName) {
        return PRARAM_VALUE_MAP.get(paramName);
    }

    public static void mockParamValue(Map<String, BigDecimal> paramValueMap) {
        PRARAM_VALUE_MAP = paramValueMap;
    }
}
